package com.bachongLightNovel.works.mapper;

import com.bachongLightNovel.model.pojo.works.Collect;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author vermouth
 */

@Mapper
public interface WorksCollectMapper {
    //向collect表中插入一条数据
    void insert(Collect collect);

    //根据userId和novelId删除相应数据
    void deleteByQuery(Collect collect);
}
